//
// @project：Pods
// @file：JWGuideMarkerData.swift
// @author：linjw(10126121@qq.com)
// @time: 2023/5/1
//

import UIKit

/// 动画类型
public enum JWGuideMarkerAnimationStyle: Int {
    
    /// 无动画
    case none
    
    /// 缩放
    case scale
    
    /// 平移
    case move

}

/// 引导标识
open class JWGuideMarkerData: NSObject {

    
    public var point: CGPoint = .zero
    
    public var size: CGSize = .zero
        
    public var radius: CGFloat = 4.0
    
    public var animationStyle: JWGuideMarkerAnimationStyle = .none
    
    public var frame: CGRect = .zero
    
    public init(frame: CGRect, radius: CGFloat = 4.0, animationStyle: JWGuideMarkerAnimationStyle = .none) {
        super.init()
        self.frame = frame
        self.point = frame.origin
        self.size = frame.size
        self.animationStyle = animationStyle
        self.radius = radius
    }
    
}

